﻿(function (root) {
    root.Utils = {};
    root.Utils.rootUrl = '/';
    root.Utils.getUrl = function (url) {
        return this.rootUrl + url;
    };

    root.Utils.getPage = function (pageName) {
        return this.rootUrl + 'Content/views/pages/' + pageName + '.html';
    };

    root.Utils.getTemplate = function (templateName) {
        return this.rootUrl + 'Content/views/templates/' + templateName + '.html';
    };
})(window);